export const getStorage = (key) => {
  return new Promise((resolve, reject) => {
    wx.getStorage({
      key,
      success: resolve,
      fail: reject,
    })
  })
}

export default {
  getStorage,
}
